/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const Iconxiuli: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M591.89 1024H414.876L404.24 893.58a393.6 393.6 0 0 1-101.06-44.466l-96.592 81.698L81.38 805.392l85.102-100.102a394.77 394.77 0 0 1-39.892-102.975L0 591.784V414.876l130.633-10.637a394.664 394.664 0 0 1 44.572-100.954l-81.698-96.91 125.1-125.102 100.103 85.103a392.43 392.43 0 0 1 102.975-39.892L432.216 0h176.908l10.637 130.74a390.09 390.09 0 0 1 101.06 44.572l96.592-81.805 125.314 125.1-85.103 100.103a390.728 390.728 0 0 1 39.786 102.975l126.27 10.637v176.695l-130.1 10.957a394.664 394.664 0 0 1-44.573 100.953l81.805 96.699-125.314 125.1-100.102-85.102a392.43 392.43 0 0 1-102.974 39.892z m-138.292-42.551h99.57l9.894-119.038 15.85-2.979a354.24 354.24 0 0 0 117.974-45.53l13.084-8.084 93.507 79.145 68.827-69.784-77.124-91.167 9.148-13.403a349.56 349.56 0 0 0 51.062-115.527l3.617-15 122.016-10.638v-98.08l-119.038-10-3.085-15.85a349.773 349.773 0 0 0-45.53-117.974l-7.978-13.085 79.04-93.507-69.785-69.678-91.06 77.125-13.404-9.042a351.581 351.581 0 0 0-115.633-51.168l-15-3.617-9.574-122.017h-98.613L461.47 161.59l-15.957 2.979a355.092 355.092 0 0 0-117.973 45.53l-13.085 8.084-93.4-79.145-69.785 69.784 77.125 91.167-9.042 13.403a352.007 352.007 0 0 0-51.169 115.527l-3.51 15L42.551 454.13v99.039l119.038 10 3.085 15.85a349.773 349.773 0 0 0 45.53 117.973l7.978 13.085-79.039 93.507 69.678 68.72 91.167-77.124 13.403 9.148a351.05 351.05 0 0 0 115.634 51.062l14.893 3.617z"
        fill={getIconColor(color, 0, '#282D33')}
      />
      <path
        d="M512 784.01A272.33 272.33 0 0 1 240.096 512h42.552a229.459 229.459 0 1 0 458.81 0h42.552A272.33 272.33 0 0 1 512 784.01zM282.648 512h-42.552c0-7.553 0-15.319 0.958-22.978l42.551 3.51c-0.744 6.49-0.957 13.085-0.957 19.468z m7.66-58.934l-41.17-10.638a271.797 271.797 0 0 1 16.17-44.572l38.616 17.978a223.395 223.395 0 0 0-13.617 37.232z m443.385 0a223.395 223.395 0 0 0-13.723-38.19l38.615-17.978a272.116 272.116 0 0 1 16.276 44.573z m-409.77-72.23l-34.892-24.468a285.095 285.095 0 0 1 30.105-36.381l30.105 30.105a229.246 229.246 0 0 0-25.318 30.743z m376.048 0a235.097 235.097 0 0 0-25.744-30.638l30.105-30.105a269.031 269.031 0 0 1 30.425 36.382zM380.835 324.56l-24.467-34.786a275.84 275.84 0 0 1 40.424-23.829l18.084 38.19a234.033 234.033 0 0 0-34.573 20.106z m263.287 0a235.097 235.097 0 0 0-34.68-20.106l17.447-38.509a270.946 270.946 0 0 1 41.062 23.723z m-191.481-33.722l-10.638-41.062a269.776 269.776 0 0 1 46.806-8.298l3.724 42.552a235.735 235.735 0 0 0-40.105 6.382z m118.825 0a232.65 232.65 0 0 0-39.36-6.915l3.616-42.551a276.584 276.584 0 0 1 46.807 8.191zM784.01 512h-42.551c0-6.595 0-13.085-0.851-19.467l42.55-3.617c0.533 7.553 0.852 15.318 0.852 23.084z"
        fill={getIconColor(color, 1, '#282D33')}
      />
      <path
        d="M372.963 608.698A167.12 167.12 0 0 1 342.645 512a169.461 169.461 0 1 1 338.816 0 167.227 167.227 0 0 1-30.424 96.698 90.528 90.528 0 0 0-84.146-57.232H457.428a90.74 90.74 0 0 0-84.465 57.232z"
        fill={getIconColor(color, 2, '#F8C44F')}
      />
      <path
        d="M585.082 487.64A73.188 73.188 0 1 1 512 414.875a73.082 73.082 0 0 1 73.082 72.763z"
        fill={getIconColor(color, 3, '#FFFFFF')}
      />
      <path
        d="M512 581.997a94.358 94.358 0 1 1 94.358-94.358A94.464 94.464 0 0 1 512 581.997z m0-146.164a51.806 51.806 0 1 0 51.806 51.806A51.913 51.913 0 0 0 512 436.152z"
        fill={getIconColor(color, 4, '#282D33')}
      />
      <path
        d="M661.25 726.353h-42.552v-84.358a51.806 51.806 0 0 0-51.807-51.807H457.428a51.806 51.806 0 0 0-51.807 51.807v84.358H363.07v-84.358a94.464 94.464 0 0 1 94.358-94.358H566.89a94.464 94.464 0 0 1 94.358 94.358z"
        fill={getIconColor(color, 5, '#282D33')}
      />
    </svg>
  );
};

Iconxiuli.defaultProps = {
  size: 18,
};

export default Iconxiuli;
